﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindows.Models
{
    public class RoleInitModel : INotifyPropertyChanged
    {
        /// <summary>
        /// 是否启用
        /// </summary>
        [Description("是否启用")]
        public bool IsEnable { get; set; }

        /// <summary>
        /// 控件名
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 角色
        /// </summary>

        public UIWindows.Enums.AuthorityTypes Authority { get; set; }

        /// <summary>
        /// 栏目
        /// </summary>
        public string Category { get; set; }

        public event PropertyChangedEventHandler? PropertyChanged;
    }
}
